[INFO] cloning repository https://github.com/foodhype/suggest_tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foodhype/suggest_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b5d22659c5505f0b92f50861f1ab9f4af9b18e8
[INFO] building foodhype/suggest_tree against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoodhype%2Fsuggest_tree" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/foodhype/suggest_tree on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/foodhype/suggest_tree
[INFO] finished tweaking git repo https://github.com/foodhype/suggest_tree
[INFO] tweaked toml for git repo https://github.com/foodhype/suggest_tree written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/foodhype/suggest_tree already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c2486383c16dc5970d6a380e08dc433b1b418096b2d0a6b3883d3e4d4dbd327
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7c2486383c16dc5970d6a380e08dc433b1b418096b2d0a6b3883d3e4d4dbd327", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c2486383c16dc5970d6a380e08dc433b1b418096b2d0a6b3883d3e4d4dbd327", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c2486383c16dc5970d6a380e08dc433b1b418096b2d0a6b3883d3e4d4dbd327", kill_on_drop: false }`
[INFO] [stdout] 7c2486383c16dc5970d6a380e08dc433b1b418096b2d0a6b3883d3e4d4dbd327
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b4ec456e4fbee7be2a4ed61e7d37b807b2b94b5d5d52a40f881f50f9619acdf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9b4ec456e4fbee7be2a4ed61e7d37b807b2b94b5d5d52a40f881f50f9619acdf", kill_on_drop: false }`
[INFO] [stderr]    Compiling suggest_tree v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::BufferedReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 |     last_index: uint
[INFO] [stdout]   |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct CompletionTrie<'a> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, uint`
[INFO] [stdout] 14 |     children: HashMap<char, Box<CompletionTrie<'a>>>,
[INFO] [stdout] 15 |     completion_weights: HashMap<uint, uint>
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:15:39
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct CompletionTrie<'a> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `, uint`
[INFO] [stdout] 14 |     children: HashMap<char, Box<CompletionTrie<'a>>>,
[INFO] [stdout] 15 |     completion_weights: HashMap<uint, uint>
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:26:42
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn add(&mut self, word: &str, index: uint) {
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:47:66
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> CompletionTrie<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, uint`
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn get_indexes(& mut self, prefix: &str) -> Option<& HashMap<uint, uint>> {
[INFO] [stdout]    |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:47:72
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> CompletionTrie<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, uint`
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn get_indexes(& mut self, prefix: &str) -> Option<& HashMap<uint, uint>> {
[INFO] [stdout]    |                                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:81:66
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl<'a> SuggestTree<'a> {
[INFO] [stdout]    |        - help: you might be missing a type parameter: `, uint`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn get_weights(& mut self, prefix: &str) -> HashMap<&String, uint> {
[INFO] [stdout]    |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]    --> src/main.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let path = Path::new("/usr/share/dict/words");
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead
[INFO] [stdout]   --> src/main.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 |             self.children.insert(letter, box CompletionTrie::new());
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[INFO] [stdout]    = help: add `#![feature(box_syntax)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: parameter `'a` is never used
[INFO] [stdout]   --> src/main.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct CompletionTrie<'a> {
[INFO] [stdout]    |                       ^^ unused parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0432, E0433, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0392`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `suggest_tree`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "9b4ec456e4fbee7be2a4ed61e7d37b807b2b94b5d5d52a40f881f50f9619acdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b4ec456e4fbee7be2a4ed61e7d37b807b2b94b5d5d52a40f881f50f9619acdf", kill_on_drop: false }`
[INFO] [stdout] 9b4ec456e4fbee7be2a4ed61e7d37b807b2b94b5d5d52a40f881f50f9619acdf
